home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Sample Code / Snippets / Sound / FreqForEverChange / FreqForEverChange.r < prev    next >
Encoding:
Text File  |  1994-11-11  |  1.0 KB  |  60 lines  |  [TEXT/MPS ]

  1. #include "Types.r"
  2. include "Sounds.rsrc";
  3.  
  4. #define AllItems    0b1111111111111111111111111111111    /* 31 flags */
  5. #define MenuItem2    0b00010
  6.  
  7. resource 'DLOG' (128, "About…") {
  8.     {66, 102, 224, 400},
  9.     dBoxProc, visible, noGoAway, 0x0, 128, ""
  10. };
  11.  
  12. resource 'DITL' (128) {
  13.      {
  14. /* 1 */ {130, 205, 150, 284},
  15.         button {
  16.             enabled,
  17.             "Continue"
  18.         };
  19. /* 2 */ {104, 144, 120, 296},                /* SourceLanguage Item */
  20.         staticText {
  21.             disabled,
  22.             ""
  23.         };
  24. /* 3 */ {88, 144, 105, 218},                /* Author Item */
  25.         staticText {
  26.             disabled,
  27.             ""
  28.         };
  29. /* 4 */ {8, 32, 26, 273},
  30.         staticText {
  31.             disabled,
  32.             "Macintosh Programmer's Workshop"
  33.         };
  34. /* 5 */ {32, 103, 50, 202},
  35.         staticText {
  36.             disabled,
  37.             ""
  38.         };
  39. /* 6 */ {88, 16, 104, 144},
  40.         staticText {
  41.             enabled, "Source Language:"
  42.         };
  43. /* 7 */ {104, 16, 120, 144},
  44.         staticText {
  45.             enabled, "Brought to you by:"
  46.         }
  47.     }
  48. };
  49.  
  50. resource 'MENU' (128, "Apple", preload) {
  51.     128, textMenuProc,
  52.     AllItems & ~MenuItem2,    /* Disable item #2 */
  53.     enabled, apple,
  54.     {
  55.         "About…",
  56.             noicon, nokey, nomark, plain;
  57.         "-",
  58.             noicon, nokey, nomark, plain
  59.     }
  60. };